<?xml version="1.0"?>
<!--EXTERNAL_PROPERTIES: output.dir;resources.dir;-->
<project name="TanashCMS Build" default="tanashcms.build" basedir=".">
  <property name="debug" value="true" overwrite="false" />
  <property name="base.dir" value="${project::get-base-directory()}" />
  <property name="output.dir" value="${project::get-base-directory()}/Build" overwrite="false" />
  <property name="resources.dir" value="${project::get-base-directory()}/lib" />
  <property name="KeyFile" value="" />
  <property name="assembly.label" value="1.2.0.0" />

  <!-- This build file defines generic methods for compiling shit -->
  <include buildfile="helpers.build.xml" />

  <target name="tanashcms.build" depends="init">
    <!-- Web Controls -->
    <property name="AssemblyName" value="WebControls" />
    <assemblyfileset id="assembly.resources">
    </assemblyfileset>
    <call target="general.compile.assembly" />

    <!-- FredCK.FCKeditorV2 -->
    <property name="AssemblyName" value="FredCK.FCKeditorV2" />
    <property name="KeyFile" value="FredCK.FCKeditorV2\_assemblykey.snk" />
    <assemblyfileset id="assembly.resources">
    </assemblyfileset>
    <call target="general.compile.assembly" />

    <!-- TanashCMS.Business -->
    <property name="AssemblyName" value="TanashCMS.Business" />
    <assemblyfileset id="assembly.resources">
      <include name="${resources.dir}/log4net.dll" />
      <include name="${resources.dir}/nhibernate.dll" />
      <include name="${resources.dir}/Iesi.Collections.dll" />
    </assemblyfileset>
    <call target="general.compile.assembly" />

    <!-- TanashCMS Website -->
    <property name="website.name" value="TanashCMS" />
    <property name="webdeploymentproject.path" value="${base.dir}\WebDeploymentProjects\Production_Enom\Production_Enom.wdproj" />
    <call target="general.compile.wdp" />

    <!--
    <assemblyfileset id="website.resources">
      <include name="${resources.dir}/log4net.dll" />
      <include name="${resources.dir}/nhibernate.dll" />
      <include name="${resources.dir}/Iesi.Collections.dll" />
      <include name="${resources.dir}/TanashCMS.Business.dll" />
      <include name="${resources.dir}/FredCK.FCKEditorV2.dll" />
      <include name="${resources.dir}/WebControls.dll" />
      <include name="${resources.dir}/AjaxControlToolkit.dll" />
      <include name="${resources.dir}/LumenWorks.Framework.IO.dll" />
	  <include name="${resources.dir}/System.Web.Extensions.dll" />
	  <include name="${resources.dir}/System.Web.Extensions.Design.dll" />
    </assemblyfileset>-->
    <!-- compile the site -->
    <!--
    <call target="general.compile.website" />
    -->

    <!-- copy the frontendwebsite web.config with replacing tokens -->
    <!--
    <filterchain id="config.settings">
      <replacetokens>
        <token key="token.defaultConnectionString" value="server=localhost;database=tanashcms;Integrated Security=true"/>
        <token key="token.smtpserver" value="10.111.1.55" />
        <token key="token.baseSiteUrl" value="http://localhost:54501" />
      </replacetokens>
    </filterchain>
  -->
    <!-- copy the frontendwebsite.config.template.xml file to /frontendwebsite/web.config with tokens replaced -->
    <!--
    <property name="template.sourcefilename" value="template.config.xml" />
    <call target="general.compile.website.copyconfig" />
    -->
  </target>

</project>